import "amfe-flexible";

import Vue from "vue";
import App from "./App";
import { router } from "./router";
import i18n from "./i18n/index";
import VueI18n from "vue-i18n";
import store from "./store";
import "@/mixin";
import "@/font/font.css";
import "@/assets/css/index.less";

// 多语言
Vue.use(VueI18n, {
  i18n: (key, value) => i18n.t(key, value)
});

new Vue({
  router,
  el: "#app",
  i18n,
  store,
  render: h => h(App)
});
